package com.itheima.service;

import com.itheima.domain.Trip;

import java.util.List;

public interface TripService {
    //查询所有
    public List<Trip> findAllTrips();

    //新增
    public int save(Trip trip);

    //根据id查询信息
    public Trip queryById(Long id);

    //修改
    public int update(Trip trip);

    //删除
    public int deleteById(Long id);
}
